package cn.rmc.hrm.service.impl;

import cn.rmc.hrm.domain.Meal;
import cn.rmc.hrm.mapper.MealMapper;
import cn.rmc.hrm.service.IMealService;
import cn.rmc.hrm.to.LoginMealTo;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 套餐表 服务实现类
 * </p>
 *
 * @author whale.chen
 * @since 2021-08-16
 */
@Service
public class MealServiceImpl extends ServiceImpl<MealMapper, Meal> implements IMealService {
    @Autowired
    private MealMapper mealMapper;
    @Override
    public void saveLoginMeal(LoginMealTo mealTo) {
        mealMapper.saveLoginMeal(mealTo);
    }
}
